package com.client.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户收货地址表
 * </p>
 *
 * @author ckick
 * @since 2025-09-20 08:28:54
 */
@Getter
@Setter
@TableName("user_addresses")
public class UserAddresses {

    /**
     * 地址唯一标识符
     */
    @TableId(value = "address_id", type = IdType.AUTO)
    private Integer addressId;

    /**
     * 所属用户ID
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 详细收货地址
     */
    @TableField("address")
    private String address;

    /**
     * 收货联系电话
     */
    @TableField("phone")
    private String phone;

    /**
     * 收货人姓名
     */
    @TableField("recipient_name")
    private String recipientName;
}
